﻿using System;
namespace XDCCManager.Network
{
	interface IChatConnection
	{
		bool Connected { get; }
		bool Connecting { get; }
		event Action ConnectionClosed;
		System.Text.Encoding ConnectionEncoding { get; set; }
		event Action ConnectionReady;
		event EventHandler<LineEventArgs> MessageReceived;
		void SendMessage(string message);
	}
}
